package love.server.handler;

import java.util.ArrayList;

import love.server.JSONTCPServer;

public abstract class AbstractLoveHandler implements ILoveRequestHandler{

	protected JSONTCPServer server;
	/**
	 * Cartes qui n'ont aucune action
	 */
	protected ArrayList<String> typesCartesAExclure = new ArrayList<String>();

	public AbstractLoveHandler(JSONTCPServer server) {
		super();
		this.server = server;
		typesCartesAExclure.add("HANDMAID");
		typesCartesAExclure.add("COUNTESS");
		typesCartesAExclure.add("PRINCESS");
	}
	
	public JSONTCPServer getServer() {
		return server;
	}

	public void setServer(JSONTCPServer server) {
		this.server = server;
	}
	
	public abstract String getMethod();
}
